package com.ruoyi.system.service.impl;

import java.util.List;
import com.ruoyi.common.utils.DateUtils;
import com.ruoyi.system.domain.Order;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.ruoyi.system.mapper.ProviderClaimMapper;
import com.ruoyi.system.domain.ProviderClaim;
import com.ruoyi.system.service.IProviderClaimService;

/**
 * 【请填写功能名称】Service业务层处理
 * 
 * @author ruoyi
 * @date 2025-03-03
 */
@Service
public class ProviderClaimServiceImpl implements IProviderClaimService 
{
    @Autowired
    private ProviderClaimMapper providerClaimMapper;

    /**
     * 查询【请填写功能名称】
     * 
     * @param id 【请填写功能名称】主键
     * @return 【请填写功能名称】
     */
    @Override
    public ProviderClaim selectProviderClaimById(Long id)
    {
        return providerClaimMapper.selectProviderClaimById(id);
    }

    /**
     * 查询【请填写功能名称】列表
     * 
     * @param providerClaim 【请填写功能名称】
     * @return 【请填写功能名称】
     */
    @Override
    public List<ProviderClaim> selectProviderClaimList(ProviderClaim providerClaim)
    {
        return providerClaimMapper.selectProviderClaimList(providerClaim);
    }

    @Override
    public List<ProviderClaim> selectWzgsClaimList(ProviderClaim providerClaim) {
        return providerClaimMapper.selectWzgsClaimList(providerClaim);
    }

    /**
     * 新增【请填写功能名称】
     * 
     * @param providerClaim 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int insertProviderClaim(ProviderClaim providerClaim)
    {
        providerClaim.setCreateTime(DateUtils.getDate());
        return providerClaimMapper.insertProviderClaim(providerClaim);
    }

    /**
     * 修改【请填写功能名称】
     * 
     * @param providerClaim 【请填写功能名称】
     * @return 结果
     */
    @Override
    public int updateProviderClaim(ProviderClaim providerClaim)
    {
        return providerClaimMapper.updateProviderClaim(providerClaim);
    }

    /**
     * 批量删除【请填写功能名称】
     * 
     * @param ids 需要删除的【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteProviderClaimByIds(Long[] ids)
    {
        return providerClaimMapper.deleteProviderClaimByIds(ids);
    }

    /**
     * 删除【请填写功能名称】信息
     * 
     * @param id 【请填写功能名称】主键
     * @return 结果
     */
    @Override
    public int deleteProviderClaimById(Long id)
    {
        return providerClaimMapper.deleteProviderClaimById(id);
    }

    @Override
    public int insertClaimBitchs(List<ProviderClaim> claimList) {
        return providerClaimMapper.insertClaimBitchs(claimList);
    }
    @Override
    public int updateClaimListForZXK(ProviderClaim providerClaim) {
        return providerClaimMapper.updateClaimListForZXK(providerClaim);
    }

    @Override
    public ProviderClaim selectProviderClaimByClaimId(ProviderClaim providerClaim) {
        return providerClaimMapper.selectProviderClaimByClaimId(providerClaim);
    }

    @Override
    public int updateProviderClaimByClaimId(ProviderClaim providerClaim) {
        return providerClaimMapper.updateProviderClaimByClaimId(providerClaim);
    }

    @Override
    public int updateClaimListForProvider(ProviderClaim providerClaim) {
        return providerClaimMapper.updateClaimListForProvider(providerClaim);
    }

    @Override
    public int updateClaimListForWzgs(ProviderClaim providerClaim) {
        return providerClaimMapper.updateClaimListForWzgs(providerClaim);
    }

    @Override
    public int cancelClaimListForProvider(ProviderClaim providerClaim) {
        return providerClaimMapper.cancelClaimListForProvider(providerClaim);
    }

    @Override
    public int cancelClaimListForWzgs(ProviderClaim providerClaim) {
        return providerClaimMapper.cancelClaimListForWzgs(providerClaim);
    }

    @Override
    public List<ProviderClaim> selectProviderClaimListByProvider() {
        return providerClaimMapper.selectProviderClaimListByProvider();
    }


}
